package com.whq.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.whq.dao.BasicCarIgnedtoLogMapper;
import com.whq.entity.BasicCarIgnedtoLog;
import com.whq.service.BasicCarIgnedtoLogService;

@Service(value = "tdBasicCarIgnedtoLogService")
public class BasicCarIgnedtoLogServiceImpl implements BasicCarIgnedtoLogService {

    @Autowired
    private BasicCarIgnedtoLogMapper<BasicCarIgnedtoLog>tdBasicCarIgnedtoLogMapper;
    
    @Override
    public Integer insertSelective(BasicCarIgnedtoLog tdBasicCarIgnedtoLog) throws Exception {
           return this.tdBasicCarIgnedtoLogMapper.insertSelective(tdBasicCarIgnedtoLog);
        }

    @Override
    public Integer insertBatch(List<BasicCarIgnedtoLog> tdBasicCarIgnedtoLog) throws Exception {
           return this.tdBasicCarIgnedtoLogMapper.insertBatch(tdBasicCarIgnedtoLog) ;
        }

    @Override
    public Integer deleteByPrimaryKey(Object id) {
            return this.tdBasicCarIgnedtoLogMapper.deleteByPrimaryKey(id);
    }

    public Integer deleteBatchByPrimaryKey(List<Object> ids) {
           return this.tdBasicCarIgnedtoLogMapper.deleteBatchByPrimaryKey(ids);
    }

    @Override
    public Integer updateByPrimaryKeySelective(BasicCarIgnedtoLog tdBasicCarIgnedtoLog) {
           return this.tdBasicCarIgnedtoLogMapper.updateByPrimaryKeySelective(tdBasicCarIgnedtoLog);
    }

    @Override
    public BasicCarIgnedtoLog findById(Object id) {
           return (BasicCarIgnedtoLog) this.tdBasicCarIgnedtoLogMapper.selectByPrimaryKey(id);
    }

    @Override
    public List<BasicCarIgnedtoLog> selectByCondition(BasicCarIgnedtoLog tdBasicCarIgnedtoLog) {
           return (List<BasicCarIgnedtoLog>) this.tdBasicCarIgnedtoLogMapper.selectByCondition(tdBasicCarIgnedtoLog);
    }

    @Override
    public Integer selectCountByCondition(BasicCarIgnedtoLog tdBasicCarIgnedtoLog) {
           return  this.tdBasicCarIgnedtoLogMapper.selectCountByCondition(tdBasicCarIgnedtoLog);
    }

}
